package com.cskt.securityproject.service.impl;

import com.cskt.securityproject.entity.User;
import com.cskt.securityproject.mapper.UserMapper;
import com.cskt.securityproject.service.UserService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description 用户service层实现
 * @date 2023/12/14 13:42
 * @auth mo
 */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public List<User> findAll() {
        return userMapper.selectUsers();
    }
}
